package cn.cvs.service;

import cn.cvs.dao.SysRoleMapper;
import cn.cvs.pojo.SysRole;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysRoleServiceImpl implements SysRoleService{

    @Autowired
    private SysRoleMapper mapper;
    @Override
    public List<SysRole> roleList() {
        return mapper.selectRoleList();
    }
}
